<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class App extends CI_Controller {

	public function index() 
	{
		// Template
		$this->load->view('view_app');
		$this->load->model('model_user');
		$this->load->model('model_lesson');
	}

	// Contents
	function home() {
		$this->load->view('app_templates/page_home');
	}
	function lesson() {
		$this->load->view('app_templates/page_lesson');
	}
	function search() {
		$this->load->view('app_templates/page_search');
	}	
	function timeline() {
		$this->load->view('app_templates/page_timeline');
	}
	function groups() {
		$this->load->view('app_templates/page_groups');
	}
	function category() {
		$this->load->view('app_templates/page_category');
	}
	function event() {
		$this->load->view('app_templates/page_event');
	}
	function videos() {
		$this->load->view('app_templates/page_videos');
	}
}

?>